package com.example.wangshuo.zyfypt_205ws.service;
import com.example.wangshuo.zyfypt_205ws.bean.LoginBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
/**
 * Created by wangshuo on 2017/4/19.
 */
//文章访问的Retrofit接口
public interface LoginService {
    @GET("api.php/login")
    Call<LoginBean> login(@Query("username") String username,
                          @Query("password") String password);
}
